﻿@model SGC_CarteraClientes.Models.CA_PROSPECTO_PRELIM

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>CA_PROSPECTO_PRELIM</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_ID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_ID)
            @Html.ValidationMessageFor(model => model.PROSP_ID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_APPAT)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_APPAT)
            @Html.ValidationMessageFor(model => model.PROSP_APPAT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_APMAT)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_APMAT)
            @Html.ValidationMessageFor(model => model.PROSP_APMAT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_NOMS)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_NOMS)
            @Html.ValidationMessageFor(model => model.PROSP_NOMS)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_TELF)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_TELF)
            @Html.ValidationMessageFor(model => model.PROSP_TELF)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_DIRE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_DIRE)
            @Html.ValidationMessageFor(model => model.PROSP_DIRE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_MAIL)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_MAIL)
            @Html.ValidationMessageFor(model => model.PROSP_MAIL)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_SUEL)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_SUEL)
            @Html.ValidationMessageFor(model => model.PROSP_SUEL)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_STS)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_STS)
            @Html.ValidationMessageFor(model => model.PROSP_STS)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_ESCV)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_ESCV)
            @Html.ValidationMessageFor(model => model.PROSP_ESCV)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_NDOC)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_NDOC)
            @Html.ValidationMessageFor(model => model.PROSP_NDOC)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_TDOC)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_TDOC)
            @Html.ValidationMessageFor(model => model.PROSP_TDOC)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ORIGEN_ID, "PROSPECTO_ORIGEN")
        </div>
        <div class="editor-field">
            @Html.DropDownList("ORIGEN_ID", String.Empty)
            @Html.ValidationMessageFor(model => model.ORIGEN_ID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_ID_ANT)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_ID_ANT)
            @Html.ValidationMessageFor(model => model.PROSP_ID_ANT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_FREG)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_FREG)
            @Html.ValidationMessageFor(model => model.PROSP_FREG)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PROSP_USRID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PROSP_USRID)
            @Html.ValidationMessageFor(model => model.PROSP_USRID)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
